/* 基础样式 */
.page-container {
  font-family: "PingFang SC", "Helvetica Neue", Arial, sans-serif;
  color: #333;
  background-color: #f5f7fa;
  line-height: 1.5;
}

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  box-sizing: border-box;
}

/* Banner样式 */
.banner-section {
  width: 100%;
  overflow: hidden;
}

.banner-link {
  display: block;
  width: 100%;
}

.banner-img {
  width: 100%;
  height: auto;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.banner-img:hover {
  transform: scale(1.02);
}

/* 信息栏样式 */
.info-bar {
  background-color: #fff;
  padding: 20px 0;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
  margin-bottom: 30px;
}

.info-bar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
}

/* 公告样式 */
.announcement {
  flex: 1;
  min-width: 300px;
  display: flex;
  align-items: center;
  gap: 15px;
  position: relative;
  height: 60px;
}

.announcement-title {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 500;
  color: #165dff;
  white-space: nowrap;
}

.icon-bell {
  display: inline-block;
  width: 20px;
  height: 20px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23165dff'%3E%3Cpath d='M12 22c1.1 0 2-.9 2-2h-4c0 1.1.9 2 2 2zm6-6v-5c0-3.07-1.63-5.64-4.5-6.32V4c0-.83-.67-1.5-1.5-1.5s-1.5.67-1.5 1.5v.68C7.64 5.36 6 7.92 6 11v5H5v2h14v-2h-1zm-2 1H8v-6c0-2.48 1.51-4.5 4-4.5s4 2.02 4 4.5v6z'/%3E%3C/svg%3E") no-repeat center;
}

.announcement-content {
  flex: 1;
  height: 30px;
  overflow: hidden;
  position: relative;
}

.scroll-container {
  width: 100%;
  height: 100%;
  overflow: hidden;
}

.announcement-list {
  list-style: none;
  margin: 0;
  padding: 0;
  transition: transform 0.1s ease;
}

.announcement-link {
  display: block;
  color: #333;
  text-decoration: none;
  font-size: 14px;
  height: 30px;
  line-height: 30px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  transition: color 0.2s;
}

.announcement-link:hover {
  color: #165dff;
  text-decoration: underline;
}

.more-link {
  color: #165dff;
  text-decoration: none;
  font-size: 14px;
  padding: 0 10px;
  white-space: nowrap;
  transition: all 0.2s;
}

.more-link:hover {
  color: #0e42d2;
  text-decoration: underline;
}

/* 数据统计样式 */
.stats {
  display: flex;
  gap: 30px;
  min-width: 400px;
}

.stat-item {
  text-align: center;
}

.stat-label {
  font-size: 14px;
  color: #666;
  margin-bottom: 5px;
}

.stat-value {
  font-size: 18px;
  font-weight: 600;
  color: #333;
}

.stat-value strong {
  color: #e63757;
  letter-spacing: 1px;
}

.unit {
  font-size: 14px;
  margin-left: 5px;
  color: #666;
}

/* 平台优势样式 */
.features-section {
  padding: 40px 0 60px;
}

.section-title {
  text-align: center;
  font-size: 28px;
  font-weight: 600;
  color: #333;
  margin-bottom: 40px;
  position: relative;
  display: inline-block;
  left: 50%;
  transform: translateX(-50%);
}

.section-title::after {
  content: "";
  display: block;
  width: 60px;
  height: 3px;
  background-color: #165dff;
  margin: 10px auto 0;
  border-radius: 3px;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 30px;
}

.feature-card {
  background-color: #fff;
  border-radius: 10px;
  padding: 30px 20px;
  text-align: center;
  text-decoration: none;
  color: #333;
  transition: all 0.3s ease;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.feature-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

/* 不同卡片的特色颜色 */
.feature-1 {
  border-top: 3px solid #165dff;
}

.feature-2 {
  border-top: 3px solid #36cbcb;
}

.feature-3 {
  border-top: 3px solid #722ed1;
}

.feature-4 {
  border-top: 3px solid #ff7d00;
}

.feature-icon {
  width: 70px;
  height: 70px;
  margin: 0 auto 20px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.feature-1 .feature-icon {
  background-color: rgba(22, 93, 255, 0.1);
}

.feature-2 .feature-icon {
  background-color: rgba(54, 203, 203, 0.1);
}

.feature-3 .feature-icon {
  background-color: rgba(114, 46, 209, 0.1);
}

.feature-4 .feature-icon {
  background-color: rgba(255, 125, 0, 0.1);
}

.icon-high-yield {
  width: 36px;
  height: 36px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23165dff'%3E%3Cpath d='M11 9H9V2H7v7H5V2H3v7c0 2.12 1.66 3.84 3.75 3.97V22h2.5v-9.03C11.34 12.84 13 11.12 13 9V2h-2v7zm5-3v8h2.5v8H21V2c-2.76 0-5 2.24-5 4z'/%3E%3C/svg%3E") no-repeat center;
}

.icon-security {
  width: 36px;
  height: 36px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%2336cbcb'%3E%3Cpath d='M12 1L3 5v6c0 5.55 3.84 10.74 9 12 5.16-1.26 9-6.45 9-12V5l-9-4zm-2 16l-4-4 1.41-1.41L10 14.17l6.59-6.59L18 9l-8 8z'/%3E%3C/svg%3E") no-repeat center;
}

.icon-redemption {
  width: 36px;
  height: 36px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23722ed1'%3E%3Cpath d='M19 9h-4V3H9v6H5l7 7 7-7zM5 18v2h14v-2H5z'/%3E%3C/svg%3E") no-repeat center;
}

.icon-mobile {
  width: 36px;
  height: 36px;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23ff7d00'%3E%3Cpath d='M17 1.01L7 1c-1.1 0-1.99.9-1.99 2v18c0 1.1.89 2 1.99 2h10c1.1 0 2-.9 2-2V3c0-1.1-.9-1.99-2-1.99zM17 19H7V5h10v14z'/%3E%3C/svg%3E") no-repeat center;
}

.feature-title {
  font-size: 20px;
  font-weight: 500;
  margin-bottom: 15px;
  color: #333;
}

.feature-1 .feature-title {
  color: #165dff;
}

.feature-2 .feature-title {
  color: #36cbcb;
}

.feature-3 .feature-title {
  color: #722ed1;
}

.feature-4 .feature-title {
  color: #ff7d00;
}

.feature-desc {
  font-size: 14px;
  color: #666;
  line-height: 1.6;
}

/* 响应式调整 */
@media (max-width: 992px) {
  .stats {
    min-width: auto;
    width: 100%;
    justify-content: center;
    margin-top: 20px;
  }

  .announcement {
    width: 100%;
  }
}

@media (max-width: 768px) {
  .features-grid {
    grid-template-columns: 1fr 1fr;
  }

  .section-title {
    font-size: 24px;
  }

  .stat-value {
    font-size: 16px;
  }
}

@media (max-width: 576px) {
  .features-grid {
    grid-template-columns: 1fr;
  }

  .stats {
    flex-direction: column;
    gap: 15px;
    align-items: center;
  }

  .stat-item {
    width: 100%;
  }

  .section-title {
    font-size: 20px;
  }

  .announcement {
    height: auto;
    flex-wrap: wrap;
  }
}